#
# * File			: 
# * Date			: 2016/11/21
# * Author		: lsh
# * Description	: makefile
# */

TARGET = SingleMode

SRC = main.cpp Singleton.cpp
OBJS = $(SRC:.cpp=.o)

CPPFLAGS = -g
IFLAGS = -I.
LIBS = -lstdc++ -lpthread

all:$(TARGET)

$(TARGET) : $(OBJS)
	$(CXX) -std=c++11 -o $@ $(OBJS) $(IFLAGS) $(LIBS)

.PHONY : clean
clean:
	rm -rf $(TARGET) $(OBJS)

